.container {
    padding: 20px;
    background-color: #fff;
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    max-width: 1600px;
    margin: 0 auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.title {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.addButton {
    background-color: #1890ff;
    color: white;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 16px;
}

.addButton:hover {
    background-color: #40a9ff;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.table th {
    background-color: #fafafa;
    font-weight: 500;
    color: #333;
}

.imageCell {
    width: 120px;
    height: 120px;
    padding: 8px;
}

.imageWrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
}

.imageWrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.noImage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #999;
    font-size: 14px;
    border-radius: 4px;
}

.operationCell {
    white-space: nowrap;
}

.operationButton {
    padding: 4px 12px;
    margin: 0 4px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.editButton {
    background-color: #52c41a;
    color: white;
}

.deleteButton {
    background-color: #ff4d4f;
    color: white;
}

.editButton:hover {
    background-color: #73d13d;
}

.deleteButton:hover {
    background-color: #ff7875;
}

/* 响应式布局 */
@media screen and (max-width: 1200px) {
    .container {
        padding: 24px;
    }

    .table th,
    .table td {
        padding: 16px;
    }
}

.modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modalContent {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
} 

/* 搜索表单样式 */
.searchForm {
    margin: 20px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.searchRow {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.searchItem {
    display: flex;
    align-items: center;
    gap: 8px;
}

.searchItem label {
    white-space: nowrap;
    color: #666;
}

.searchItem input {
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    width: 200px;
    transition: all 0.3s;
}

.searchItem input:focus {
    border-color: #40a9ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.searchItem input::placeholder {
    color: #bfbfbf;
}

.searchButtons {
    display: flex;
    gap: 12px;
}

.searchButton,
.resetButton {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.searchButton {
    background-color: #1890ff;
    color: white;
}

.searchButton:hover {
    background-color: #40a9ff;
}

.resetButton {
    background-color: #fff;
    border: 1px solid #d9d9d9;
    color: #666;
}

.resetButton:hover {
    color: #40a9ff;
    border-color: #40a9ff;
}

/* 分页样式 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 20px;
    padding: 16px;
    background: #fff;
    border-radius: 4px;
    gap: 16px;
}

.pageSizeSelect {
    padding: 4px 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.pageSizeSelect:hover {
    border-color: #40a9ff;
}

.pageButton {
    padding: 4px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.pageButton:hover:not(:disabled) {
    color: #40a9ff;
    border-color: #40a9ff;
}

.pageButton:disabled {
    cursor: not-allowed;
    color: #d9d9d9;
    background: #f5f5f5;
} 